package hibari.server.operations;

import hibari.server.lib.MultiPartRequest;

import javax.servlet.http.HttpServletResponse;

public abstract class Operation {
    private MultiPartRequest request;

    private HttpServletResponse response;

    public Operation(MultiPartRequest request, HttpServletResponse response) {
        super();
        this.request = request;
        this.response = response;
    }

    public abstract void doOperation();

    public MultiPartRequest getRequest() {
        return this.request;
    }

    public HttpServletResponse getResponse() {
        return this.response;
    }

}
